#set(tableComment = table.tableComment)
#set(entityClass = table.entityClass())
#set(entityVar = table.entityVar())
#set(reqVoClass = table.reqVoClass())
#set(respVoClass = table.respVoClass())
#set(simpleRespVoClass = table.simpleRespVoClass())
#set(convertClass = table.convertClass())
package #(basePackage).#(table.moduleType).#(table.moduleName).#(table.domainName).convert;


import #(basePackage).#(table.moduleType).#(table.moduleName).#(table.domainName).controller.#(sceneEnum.basePackage).vo.#(table.businessName).*;
import #(basePackage).#(table.moduleType).#(table.moduleName).#(table.domainName).entity.#(entityClass);

import java.util.*;

import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

/**
 * #(tableComment) 转换类
 *
 * @author #(table.author)
 * @since #(table.since())
 */
@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface #(sceneEnum.prefixClass)#(convertClass) {
    #(convertClass) INSTANCE = Mappers.getMapper(#(sceneEnum.prefixClass)#(convertClass).class);

    #(entityClass) convert(#(sceneEnum.prefixClass)#(reqVoClass) bean);

    #(sceneEnum.prefixClass)#(respVoClass) convert(#(entityClass) bean);

    List<#(sceneEnum.prefixClass)#(respVoClass)> convertList(List<#(entityClass)> list);

    #(sceneEnum.prefixClass)#(simpleRespVoClass) convertSimple(#(entityClass) bean);
    List<#(sceneEnum.prefixClass)#(simpleRespVoClass)> convertSimpleList(List<#(entityClass)> list);
}
